package com.mz.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * (UmsRoleInfo)表实体类
 *
 * @author makejava
 * @since 2023-12-13 13:38:36
 */
@Data
@Accessors(chain = true)
public class UmsRoleInfo {

    private Long id;
    //角色名
    private String name;

    @TableField( exist = false )
    private List<Long> permissionList;

    @TableLogic
    private Integer delFlag;

    private Long createBy;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    private Long updateBy;

    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

}

